package me.firstapp.service.weixin.member;

import java.util.Date;
import java.util.List;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.weixin.order.SpreadOrder;

public interface SpreadOrderService {

	SpreadOrder executeAdd(String openId, String beiOpenId);

	SpreadOrder executeSettle(SpreadOrder spreadOrder);

	List<SpreadOrder> findBySettleFlag(Integer settleFlag);

	Page<SpreadOrder> findSpreadOrderPage(Integer pageNo, Integer pageSize, Map<String, Object> searchParams,
			String sortParam, String sortType, Date startTime, Date endTime);
}
